package com.dyz.wsw.admin.account.controller;

import com.dyz.wsw.admin.account.feign.PassportFeignClient;
import com.dyz.wsw.common.web.JsonResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import reactor.core.publisher.Mono;

/**
 * @author dyz
 * @date 2025/2/15 19:36
 */
@RestController
public class Test {


    @Autowired
    private PassportFeignClient passportFeignClient;

    @GetMapping("/test")
    public Mono<JsonResult> hello(){
        return passportFeignClient.getPubKey();
    }

}
